/**
 * 
 */
package cn.edu.bjtu.textprocess.core;

import org.deeplearning4j.models.embeddings.loader.WordVectorSerializer;
import org.deeplearning4j.models.word2vec.Word2Vec;

import cn.edu.bjtu.textprocess.api.W2VModeReader;

/**
 * @author alex
 *
 */
class Word2VecModel {
	Word2Vec w2v = null;
	public Word2Vec getW2v(){
		return w2v;
	}
	public Word2VecModel(W2VModeReader reader) throws Exception {
		w2v = WordVectorSerializer.readWord2VecModel(reader.getW2vFile());
	}
}
